<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>试卷-选择题</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
    <link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm-extend.min.css">
    <link rel="stylesheet" type="text/css" href="css/style.css">
    <style type="text/css">
      
   </style>
</head>
<body>

    <div class="page-group" style="background: #fff;">

        <div class="page">
            <!-- 标题栏 -->
            <header class="bar bar-nav" id="bar">
                <a class="icon icon-left pull-left"></a>
                <h1 class="title">新员工培训检测试卷</h1>
            </header>
            <!-- 工具栏 -->
            <nav class="bar bar-tab">
                <a class="tab-item external active">
                    <i class="iconfont icon-jtleft mr5"></i>上一题
                </a>
                <a class="tab-item external  active">交卷
                </a>
                <a class="tab-item external active">下一题<i class="iconfont icon-jtright ml5"></i>
                </a>
            </nav>
            <!-- 这里是页面内容区 -->
            <div class="content">
                <header class="bar bar-nav bar-ks">
                    <h1 class="title" style="padding: 0 1rem;">
                        <span class="pull-left">00:39:20</span>
                        <span class="pull-right" id="dtk">答题卡 3/9</span>
                    </h1>
                </header>
                <div class="exambox">
                    <p>【单选题】</p>
                    <div>1.用上量限为300V的0.5级电压表,在温度为30℃条件下测量150V电压时,最大可能测量误差是(   )。(5分)</div>
                    <div class="list-block media-list">
                        <ul style="background: TRANSPARENT;">
                            <li>
                                <label class="label-checkbox item-content">
                                    <input type="radio" name="my-radio">
                                    <!-- 如果是多选  请将  input 换成  <input type="checkbox" name="checkbox">   -->
                                    <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
                                    <div class="item-inner">
                                        <div>A</div>
                                    </div>
                                </label>
                            </li>
                            <li>
                                <label class="label-checkbox item-content">
                                    <input type="radio" name="my-radio">
                                    <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
                                    <div class="item-inner">
                                        <div>B</div>
                                    </div>
                                </label>
                            </li>
                            <li>
                                <label class="label-checkbox item-content">
                                    <input type="radio" name="my-radio">
                                    <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
                                    <div class="item-inner">
                                        <div>C</div>
                                    </div>
                                </label>
                            </li>
                            <li>
                                <label class="label-checkbox item-content">
                                    <input type="radio" name="my-radio">
                                    <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
                                    <div class="item-inner">
                                        <div>D</div>
                                    </div>
                                </label>
                            </li>
                        </ul>
                        <!-- 填空题输入框 -->
                        <div style="background: #fff;">
                            <textarea placeholder="请输入您的答案"></textarea>
                        </div>
                        <p class="c-green">参考答案：  A</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="answer-sheet" class="answer-sheet">
        <div class="answer-panel">
            <p class="title-list">【单选题】</p>
            <ul class="overflow">
                <li>
                    <div class="answer-title">
                        1
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        2
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        3
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        4
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        5
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        6
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        7
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        8
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        9
                    </div>
                </li>
            </ul>
            <p class="title-list">【多选题】</p>
            <ul class="overflow">
                <li>
                    <div class="answer-title">
                        1
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        2
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        3
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        4
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        5
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        6
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        7
                    </div>
                </li>
                <li>
                    <div class="answer-title">
                        8
                    </div>
                </li>
                <li>
                    <div class="answer-title active">
                        9
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <script type='text/javascript' src='http://g.alicdn.com/sj/lib/zepto/zepto.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.6.2/js/sm.min.js' charset='utf-8'></script>
    <script type='text/javascript' src='http://g.alicdn.com/msui/sm/0.6.2/js/sm-extend.min.js' charset='utf-8'></script>
    <script type="text/javascript">
        $(function () {
            $(document).on("pageInit", function () {
                $('.buttons-tab').fixedTab({ offset: 44 });
            });
            $.init();
            // 计算弹窗位置
            var h1 = document.getElementById("bar").offsetHeight;
            var h2 = window.innerHeight - h1 * 2;
            document.getElementById("answer-sheet").style.height = h2 + "px";
            document.getElementById("answer-sheet").style.top = h1 * 2 + "px";
            $("#dtk").click(function () {
                $("#answer-sheet").toggle();
            })
        });


    </script>

</body>
</html>
